#include "lib/global.h"
#include "lib/memctrl.h"
#include "memory/memory.h"
#include "lib/print.h"
int main(void)
{
    InitMemory();
    String StringPos = (String)malloc_sys(APPLY_FOR_USER, 100);
    StringPos[0] = 'a';
    StringPos[1] = 'b';
    StringPos[2] = 'c';
    StringPos[3] = '\n';
    StringPos[4] = '1';
    StringPos[5] = '2';
    StringPos[6] = '\b';
    StringPos[7] = '3';
    StringPos[8] = '\n';
    StringPos[9] = 'H';
    StringPos[10] = '\0';
    PutString(StringPos);
    free_sys(StringPos);
    // putchar_S('a');
    // putchar_S('b');
    // putchar_S('c');
    // putchar_S('\n');
    // putchar_S('1');
    // putchar_S('2');
    // putchar_S('\b');
    // putchar_S('3');
    // putchar_S('\r');
    while(1);
    return 0;
}